package com.legal.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

@Schema(name ="UserDTO对象", description="用户DTO信息表")
@Data
public class UserDTO {
    @Schema(description = "用户id")
    private Long id;

    @Schema(description = "用户账号")
    private String userAccount;

    @Schema(description = "用户昵称")
    private String nickname;

    @Schema(description = "真实姓名")
    private String realName;

    @Schema(description = "密码哈希")
    private String passwordHash;

    @Schema(description = "是否启用（0启用 1禁用）")
    private Integer isEnabled;

    @Schema(description = "是否管理员（1是 0否）")
    private Integer isAdmin;

    @Schema(description = "帐号状态（0正常 1停用）")
    private Integer accountStatus;

    @Schema(description = "手机号")
    private String phoneNumber;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "性别（0男 1女 2未知）")
    private String sex;

    @Schema(description = "头像地址")
    private String avatarUrl;

    @Schema(description = "用户积分")
    private Integer points;
}
